<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>tril</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>tril</b> -  lower triangular part of matrix</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>tril(x [,k])  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>x</b>
        </tt>: matrix (real, complex, polynomial, rational)</li>
      <li>
        <tt>
          <b>k</b>
        </tt>: integer (default value 0)</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    Lower triangle part of a matrix.
    <tt>
        <b>tril(x,k)</b>
      </tt>  is made by entries below the kth diagonal :
    k&gt;0 (upper diagonal) and   k&lt;0 (diagonals below 
    the main diagonal).</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

s=poly(0,'s');
tril([s,s;s,1])
tril([1/s,1/s;1/s,1])
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="triu.htm">
        <tt>
          <b>triu</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="ones.htm">
        <tt>
          <b>ones</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="eye.htm">
        <tt>
          <b>eye</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="diag.htm">
        <tt>
          <b>diag</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
